package io.gitee.bluemiaomiao.dataanalyzebackend.exception;

import lombok.Getter;

/**
 * @author ：TLang
 * @date ：Created in 2020/10/17 8:35
 * @description：测试异常类
 * @modified By：
 * @version: 1.0$
 */
@Getter
public class TestException extends RuntimeException {

  /**
   * @author: TLang
   * @description 异常code
   * @create time: 2020/10/17 8:37
   */
  private String code;

  /**
   * @author: TLang
   * @description 异常信息
   * @create time: 2020/10/17 8:37
   */
  private String msg;

  public TestException(String code, String msg) {
    super(msg);
    this.code = code;
  }
}
